package com.csi.okr.mobile.common.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * OKR文件信息 实体类
 */
@Entity
@Table(name = "T_OKR_FILES", schema = "PSGIS")
public class TOkrFiles implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	private String okrFileUuid;
	private String fileTitle;
	private String fileType;
	private String summary;
	private String author;
	private String owerDeptname;
	private Serializable uploadTime;
	private String fileLocation;
	private BigDecimal isTop;
	private BigDecimal isCream;

	public TOkrFiles() {
	}

	public TOkrFiles(String okrFileUuid) {
		this.okrFileUuid = okrFileUuid;
	}

	public TOkrFiles(String okrFileUuid, String fileTitle, String fileType, String summary, String author,
			String owerDeptname, Serializable uploadTime, String fileLocation, BigDecimal isTop, BigDecimal isCream) {
		this.okrFileUuid = okrFileUuid;
		this.fileTitle = fileTitle;
		this.fileType = fileType;
		this.summary = summary;
		this.author = author;
		this.owerDeptname = owerDeptname;
		this.uploadTime = uploadTime;
		this.fileLocation = fileLocation;
		this.isTop = isTop;
		this.isCream = isCream;
	}

	@Id

	@Column(name = "OKR_FILE_UUID", unique = true, nullable = false, length = 32)
	public String getOkrFileUuid() {
		return this.okrFileUuid;
	}

	public void setOkrFileUuid(String okrFileUuid) {
		this.okrFileUuid = okrFileUuid;
	}

	@Column(name = "FILE_TITLE", length = 128)
	public String getFileTitle() {
		return this.fileTitle;
	}

	public void setFileTitle(String fileTitle) {
		this.fileTitle = fileTitle;
	}

	@Column(name = "FILE_TYPE", length = 2)
	public String getFileType() {
		return this.fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	@Column(name = "SUMMARY", length = 1024)
	public String getSummary() {
		return this.summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	@Column(name = "AUTHOR", length = 16)
	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	@Column(name = "OWER_DEPTNAME", length = 64)
	public String getOwerDeptname() {
		return this.owerDeptname;
	}

	public void setOwerDeptname(String owerDeptname) {
		this.owerDeptname = owerDeptname;
	}

	@Column(name = "UPLOAD_TIME")
	public Serializable getUploadTime() {
		return this.uploadTime;
	}

	public void setUploadTime(Serializable uploadTime) {
		this.uploadTime = uploadTime;
	}

	@Column(name = "FILE_LOCATION", length = 256)
	public String getFileLocation() {
		return this.fileLocation;
	}

	public void setFileLocation(String fileLocation) {
		this.fileLocation = fileLocation;
	}

	@Column(name = "IS_TOP", precision = 22, scale = 0)
	public BigDecimal getIsTop() {
		return this.isTop;
	}

	public void setIsTop(BigDecimal isTop) {
		this.isTop = isTop;
	}

	@Column(name = "IS_CREAM", precision = 22, scale = 0)
	public BigDecimal getIsCream() {
		return this.isCream;
	}

	public void setIsCream(BigDecimal isCream) {
		this.isCream = isCream;
	}

}
